using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Sql;
using sgsBase;
 
namespace gaClear
{
[Serializable] public class DbTradeVolFreqOpt :  DbObject
{
  public DbTradeVolFreqOpt() : base()
  {
      Table = "dbo.TradeVolFreqOpts";
      Database = "gagm_energy";
      Columns.AddColumn("TradeVolFreqId", SqlDbType.Int, true, false);
      Columns.AddColumn("TVFSeqNo", SqlDbType.Int, true, false);
      Columns.AddColumn("TimeZoneSeq", SqlDbType.Int);
      Columns.AddColumn("TVFDesc", SqlDbType.NVarChar);
      Columns.AddColumn("Units", SqlDbType.NVarChar);
      Columns.AddColumn("TmUnit", SqlDbType.VarChar);
      Columns.AddColumn("Multiple", SqlDbType.Int);
      Columns.AddColumn("FinalUnits", SqlDbType.NVarChar);
      Columns.AddColumn("TVFLongDesc", SqlDbType.NVarChar);
      Columns.AddColumn("TVLTtlFormula", SqlDbType.NVarChar);
      Columns.AddColumn("TVLAdditionalFormula", SqlDbType.NVarChar);
      Columns.AddColumn("AdditionalUnits", SqlDbType.NVarChar);
      Columns.AddColumn("TVLCommissionFormula", SqlDbType.NVarChar);
  }
  
  #region Properties
  
      public int TradeVolFreqId
      {
          get { return Columns.IntAt(0);}
          set { Columns.SetValAt(0, value);}
      }

      public int TVFSeqNo
      {
          get { return Columns.IntAt(1);}
          set { Columns.SetValAt(1, value);}
      }

      public int TimeZoneSeq
      {
          get { return Columns.IntAt(2);}
          set { Columns.SetValAt(2, value);}
      }

      public String TVFDesc
      {
          get { return Columns.StringAt(3);}
          set { Columns.SetValAt(3, value);}
      }

      public String Units
      {
          get { return Columns.StringAt(4);}
          set { Columns.SetValAt(4, value);}
      }

      public String TmUnit
      {
          get { return Columns.StringAt(5);}
          set { Columns.SetValAt(5, value);}
      }

      public int Multiple
      {
          get { return Columns.IntAt(6);}
          set { Columns.SetValAt(6, value);}
      }

      public String FinalUnits
      {
          get { return Columns.StringAt(7);}
          set { Columns.SetValAt(7, value);}
      }

      public String TVFLongDesc
      {
          get { return Columns.StringAt(8);}
          set { Columns.SetValAt(8, value);}
      }

      public String TVLTtlFormula
      {
          get { return Columns.StringAt(9);}
          set { Columns.SetValAt(9, value);}
      }

      public String TVLAdditionalFormula
      {
          get { return Columns.StringAt(10);}
          set { Columns.SetValAt(10, value);}
      }

      public String AdditionalUnits
      {
          get { return Columns.StringAt(11);}
          set { Columns.SetValAt(11, value);}
      }

      public String TVLCommissionFormula
      {
          get { return Columns.StringAt(12);}
          set { Columns.SetValAt(12, value);}
      }

  
  #endregion
}
}
